//
// Commande.hpp for Plazza in /home/seth/C++/pizzaillo
// 
// Made by kevin lansel
// Login   <lansel_k@epitech.net>
// 
// Started on  Wed Apr 17 14:27:47 2013 kevin lansel
// Last update Wed Apr 17 16:08:11 2013 kevin lansel
//

#ifndef		COMMANDE_HPP_
# define	COMMANDE_HPP_

#include	<string>
#include	<list>
#include	"Factory.hpp"

class	Commande
{
public:
  Commande(int, const std::string &);
  virtual ~Commande();

public:
  int				getId() const;
  std::string			getCommande() const;
  int				getNb() const;
  std::list<std::string>	getPizzas() const;
  void				setId(int);
  void				setCommande(const std::string &);
  void				setNb(int);
  void				setPizzas(std::list<std::string>);

public:
  bool				checkstate() const;
  void				removepizza(const std::string &);

private:
  int				_id;
  std::string			_commande;
  int				_nb;
  std::list<std::string>	_pizzas;
};

#endif		/*COMMANDE_HPP*/
